/*
    Created by IntelliJ IDEA.
    @Auther: gaozhe
    @Date: 2020/5/17 下午 10:51
    
*/
package service.Impl;

import dao.Impl.UserDaoImpl;
import dao.UserDao;
import pojo.User;
import service.UserService;

import java.util.List;

public class UserServiceImpl implements UserService {
    private UserDao userDao = new UserDaoImpl();

    public List<User> findUser(int pageNumber) {
        return userDao.findUserByLimit(pageNumber);
    }
}
